package com.oop.demo06;

public class Person {
    protected String name = "陈冲";

    //默认的无参构造器
    public Person(String name) {
        System.out.println("person无参构造器" + name);
    }

    public void print() {
        System.out.println("my name is person");
    }
}
